package com.cjw.pojo.dto.userMange;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : cjw
 * @date: : 2022/3/4 20:50
 * @description : 用户权限管理列表基本DTO
 */
@Data
@ApiModel("用户权限管理列表基本DTO")
public class UserAuthorSimpleDTO {
    @ApiModelProperty("用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    @ApiModelProperty("违规数")
    private Integer unPassNumber;

    @ApiModelProperty("违规百分比")
    private Double unPassPer;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("最新审核时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date updateTime;

    @ApiModelProperty("最新添加时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd ")
    private Date addTime;

    @ApiModelProperty("状态")
    private String state;
}
